package com.pubinfo.passbook.common.service.master;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.pubinfo.passbook.common.entity.TPassbook;
import com.pubinfo.passbook.common.entity.TRuleAudit;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pubinfo.passbook.common.entity.TWiteoffInstance;
import com.pubinfo.passbook.common.model.dto.rule.RuleAuditChangeParam;
import com.pubinfo.passbook.common.model.dto.rule.RuleAuditParam;
import com.pubinfo.passbook.common.model.http.eip.UserInfo;
import com.pubinfo.passbook.common.model.vo.rule.AuditDetailVo;
import com.pubinfo.passbook.common.model.vo.rule.TRuleAuditDetailVo;
import com.pubinfo.passbook.common.model.vo.rule.updatePassbookSumParam;
import org.springframework.web.bind.annotation.PathVariable;

import java.math.BigDecimal;
import java.util.List;

/**
 *
 */
public interface TRuleAuditService extends IService<TRuleAudit> {
    IPage<TRuleAuditDetailVo> selectRuleAudit(RuleAuditParam param, UserInfo userInfo, String currentAcct);

    AuditDetailVo getAuditDetail(String witeoffId);

    Boolean changeAudit(RuleAuditChangeParam param,String acct);

    /**
     * 删除待办及相关报账
     * @param otherSystemMainId
     * @return
     */
    Boolean deleteAudit(String otherSystemMainId);
}
